import com.util.Generate;
import org.junit.Test;

import com.dao.BhSyCaseDao;
import com.dao.impl.BhSyCaseDaoImpl;
import com.servlet.BhSyCaseServlet;
import com.util.Generate;
import org.junit.Test;

import java.net.URL;

/*
测试雪花转字符串
 */
public class Suan {

    //456
    @Test
    public  void  sa(){
        BhSyCaseDao bcd = new BhSyCaseDaoImpl();
        URL urlOfClass = BhSyCaseServlet.class.getClassLoader().getResource("org/slf4j/spi/LocationAwareLogger.class");
        System.out.println(urlOfClass);
        String az= Generate.shen();
        System.out.println(az);
        System.out.println(Generate.hui(az));
    }

    //123

}
